ScopedGtbabel\vielhuber\gtbabel\Dom D

Total Complexity 294
Dependencies 12
Dependents 1
Total lines 1,068
Lines of code 925
Logical lines of code 600
Comment lines 73
Methods 60
Properties 7

Methods 60

Method Rating Maintainability Complexity Lines of code
modifyHtmlNodes()
D
30 34 100
getNearestLogicalGroup()
B
43 23 40
transformSelectorToXpath()
A
44 16 39
getGroupsForTextNodes()
A
45 13 43
showFrontendEditorLinks()
A
46 13 34
preloadExcludedNodes()
A
49 12 31
modifyJson()
A
44 11 43
setHtmlLangTags()
A
47 10 37
modifyXmlNodes()
A
48 10 32
detectDomChangesFrontend()
A
45 9 42
localizeJsPrepare()
A
48 9 33
setXmlLangTags()
A
50 8 27
__construct()
S
61 9 10
setInnerHtml()
S
51 7 26
nodeIsExcluded()
S
56 7 19
modifyHtml()
S
49 5 32
addNoTranslateClassToExcludedChildren()
S
58 6 15
frontendEditorFrontend()
S
53 5 23
showSimpleLanguagePicker()
S
55 5 18
fixPluginSpecifics()
S
60 5 14
getParentNodeWithMoreThanOneChildren()
S
59 4 16
modifyXml()
S
59 4 16
setAltLngUrls()
S
60 4 14
preloadLngAreas()
S
59 4 14
preloadForceTokenize()
S
63 4 11
localizeJsInject()
S
60 3 13
injectLanguagePickerIntoMenu()
S
60 3 12
setRtlAttr()
S
66 3 8
getTagNameOfNode()
S
67 3 9
nodeContentBeginsWith()
S
65 3 9
nodeContentEndsWith()
S
65 3 9
getNextSiblingOfNode()
S
68 2 7
modifyContent()
S
66 2 9
insertAfter()
S
69 2 7
isEmptyTextNode()
S
77 2 3
addClass()
S
65 2 9
getInnerHtml()
S
69 2 7
getLastChildrenOfNode()
S
68 2 7
isInnerTagNode()
S
68 2 6
addToExcludedNodes()
S
70 2 6
getPreviousSiblingOfNode()
S
68 2 7
getChildrenOfNodeIncludingWhitespace()
S
80 1 3
getNodeSiblingCountOfNonTextNode()
S
79 1 3
getChildrenOfNode()
S
80 1 3
stringToNode()
S
67 1 7
finishDomDocument()
S
78 1 3
isElementNode()
S
80 1 3
isTextNode()
S
80 1 3
getIdOfNode()
S
82 1 3
getOuterHtml()
S
72 1 5
nodeIsForcedTokenized()
S
79 1 3
getChildrenCountRecursivelyOfNodeTagsOnly()
S
80 1 3
getChildrenCountOfNode()
S
80 1 3
getSiblingCountOfNonTextNode()
S
79 1 3
setupDomDocument()
S
74 1 4
getBrSiblingCountOfNonTextNode()
S
80 1 3
getTextSiblingCountOfNonTextNode()
S
80 1 3
getTextSiblingCountOfNonTextNodeWithMoreChars()
S
78 1 3
getTextSiblingCountOfNonTextNodeWithLessChars()
S
78 1 3
replaceNodeWithString()
S
67 1 7